package com.asura.app.wechat.repository.net;

import com.asura.app.wechat.repository.model.Tweet;
import com.asura.app.wechat.repository.model.UserInfo;

import java.util.List;

import io.reactivex.Single;
import retrofit2.http.GET;

/**
 * Created by Asura on 2017/12/27.
 */

public interface WechatApi {
    @GET("user/jsmith")
    Single<UserInfo> fetchUserInfo();

    @GET("user/jsmith/tweets")
    Single<List<Tweet>> fetchMomentTweets();
}
